package ${packageStr};

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class ${voName} implements java.io.Serializable{
    private static final long serialVersionUID = ${value}L;

    <#list filedList as filed>
        /***${filed.comment}*/
        <#if "${filed.numberFiled}"=="1">
            @ApiModelProperty(value="${filed.comment}",example ="1")
        <#else>
            @ApiModelProperty(value="${filed.comment}")
        </#if>
        private ${filed.javaType} ${filed.name};
    </#list>


     <#list methodList  as  method>
            /**${method.comment}*/
            public ${method.javaType} ${method.getName}(){
                return this.${method.filed};
            }

            /**${method.comment}*/
            public void ${method.setName}(${method.javaType} ${method.filed}){
                this.${method.filed} = ${method.filed};
            }
     </#list>


     @Override
     public String toString() {return ${jsonUtilMethod}(this);}
}